#pragma once
#include"Tcp_Server.hpp"
#include"Common.hpp"
#include<memory>

using namespace Lock_Module;

int main()
{
    ENABLE_CONSOLE_LOG();
    Command cmd;
    unique_ptr<Tcp_Server>server=make_unique<Tcp_Server>([&cmd](string message){
        return cmd.Execute(message);
    });

    server->InitServer();
    server->Start();
    return 0;
}